export default {
	namespaced: true,
	state: {
		token: uni.getStorageSync('token'),
	},
	mutations: {
		setToken(state, token) {
			state.token = token
			uni.setStorageSync('token', token)
		},
	},
}